<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>Preferences - SWT &gt; Layouts</title>
<link href="../../../book.css" rel="stylesheet" type="text/css">
</head>

<body><h1>Preferences - SWT &gt; Layouts</h1>
<table border="0" width="800" cellspacing="0" cellpadding="0">
	<tr>
		<td><img src="images/preferences_layouts.gif"><p>This page is used to control various 
		<b>SWT &gt; Layouts</b> options.</p>
	<h2>Default layout manager</h2>
      <p>This preference controls the default layout manager that <b>SWT Designer</b> uses
      for any new frame or panel. The default is to use the implicit layout
      manager already in effect for each container (e.g., BorderLayout for JFrames 
		and FlowLayout for JPanels).<h2>Containers automatically use layout 
		manager type of parent</h2>
      <p>This preference determines whether new panels will use the layout
      manager of their parent's by default.<h2>Create variable for Layout 
		using pattern</h2>
      <p>This preference determines what pattern will be used to generate layout 
		variables. The following styles are supported:<ul>
			<li>${layoutAcronym}_${compositeName} -- gl_composite</li>
			<li>${layoutAcronym}${compositeName-cap} -- glComposite</li>
			<li>${compositeName}${layoutClassName} -- compositeGridLayout</li>
			<li>${dataDefaultName} -- gridLayout_1</li>
			</ul>
			<h2>Create variable for LayoutData 
		using pattern</h2>
      <p>This preference determines what pattern will be used to generate layout 
		data variables. The following styles are supported:<ul>
			<li>${dataAcronym}_${controlName} -- gd_helloWorldButton</li>
			<li>${dataAcronym}${controlName-cap} -- gdHelloWorldButton</li>
			<li>${controlName}${dataClassName} -- helloWorldGridData</li>
			<li>${dataDefaultName} -- gridData_1</li>
			</ul>
			</td>
	</tr>
</table>

</body></html>